MSVC tweaks.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 28 Apr 2006 17:03:00 +0000 (17:03 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 28 Apr 2006 17:03:00 +0000 (17:03 +0000)
gpsbabel/jeeps/gpsapp.c
gpsbabel/msvc/config.h [new file with mode: 0644]

index 6c37f910cb33cc209d1a54e843c6d07ea9153166..31e45b0df31ad460264e013268f8beafbe74c640 100644 (file)
@@ -3956,7 +3956,6 @@ void GPS_D303b_Get(GPS_PTrack *trk, UC *data)
     uint32 t;
     uint32 raw_lat, raw_lon;
     int lat_undefined, lon_undefined;
-int i;    
     p=data;
     
     /* Latitude and longitude are sometimes invalid (0x7fffffff or 
diff --git a/gpsbabel/msvc/config.h b/gpsbabel/msvc/config.h
new file mode 100644 (file)
index 0000000..f3c71ab
--- /dev/null
@@ -0,0 +1,3 @@
+#define HAVE_LIBEXPAT 1\r
+#define __va_copy(ap1, ap2) ((ap1) = (ap2))\r
+\r